<?php

namespace App\Models\System;

use Illuminate\Database\Eloquent\Model;

/**
 * 公司系统设置数据模型
 *
 * Date: 27/04/2018
 * @author George
 * @package App\Models
 */
class Setting extends Model
{
	/**
	 * 定义不可填充字段
	 *
	 * @var array
	 * Date: 27/04/2018
	 * @author George
	 */
	protected $guarded = ['id'];

	/**
	 * 定义字段类型
	 *
	 * @var array
	 * Date: 27/04/2018
	 * @author George
	 */
	protected $casts = [
		'register' => 'json',
		'attendance' => 'json',
	];
}
